package com.daxt.model.service.use.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "借阅全宗记录", description = "借阅全宗记录")
@TableName("use_borrow_fonds_record")
public class UseBorrowFondsRecord implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	@ApiModelProperty(value = "全宗ID", name = "fondsId")
	private String fondsId;
	
	@ApiModelProperty(value = "借阅目的", name = "reason")
    private String reason;
	
	@ApiModelProperty(value = "借阅描述", name = "describes")
    private String describes;

	@ApiModelProperty(value = "开始时间", name = "startDate")
    private String startTime;
	
	@ApiModelProperty(value = "结束时间", name = "endDate")
    private String endTime;
	
	@ApiModelProperty(value = "借阅天数", name = "bDays")
    private String bDays;
	
	@ApiModelProperty(value = "借阅状态（0待审批、1已拒绝、2借阅中、3已结束", name = "state")
    private String state;
	
	@ApiModelProperty(value = "申请人", name = "createBy")
    private String createBy;
	
	@ApiModelProperty(value = "userId", name = "userId")
	private Long userId;
	
	@ApiModelProperty(value = "申请时间", name = "createTime")
    private String createTime;
	
	@ApiModelProperty(value = "审批人", name = "updateBy")
    private String updateBy;
	
	@ApiModelProperty(value = "审批时间", name = "updateTime")
    private String updateTime;


	@ApiModelProperty(value = "全宗名称", name = "fondsName")
	@TableField(exist = false)//是否数据库字段
    private String fondsName;

	
	
	
	
   
}